# -*- coding: utf-8 -*-
# created on 2017/3/28

from mathsolver.functions.base import *


class LengZhuTiJi(BaseFunction):
    def solver(self, *args):
        value = args[0].tiji()
        self.output.append(BasePoly(value))
        self.steps.append(["体积为%s" % new_latex(value), ""])
        return self


class LengZhuGao(BaseFunction):
    def solver(self, *args):
        value = args[0].c
        self.output.append(BasePoly(value))
        self.steps.append(["高为%s" % new_latex(value), ""])
        return self


if __name__ == '__main__':
    pass
